.news-title {
    font-weight: bold;
    font-size: 14pt;
}

.news-item-color {
    background-color: #deeaf1;
}

/*Carousel*/
#homepageCarousel>.carousel-inner {
    max-height: 500px;
}

.carousel-caption {
    position: absolute;
    right: 15%;
    bottom: 10rem;
    left: 15%;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    color: #fff;
    text-align: justify;
    width: 20%;
}

.service-card-img {
    width: 70px;
    float: left;
}

.service-card-text {
    font-size: 25px;
}

p.carousel-text-one {
    margin-top: 10%;
    text-align: left;
    font-size: 24px;
    color: #f34c7f;
    font-family: "FrutigerLTStd-Bold";
    padding-right: 30px;
    margin-left: 65px;
}

p.carousel-text-two {
    color: #000;
    font-family: "FrutigerLTStd-Roman";
    text-align: left;
    font-size: 18px;
    left: 0%;
    position: relative;
    padding-right: 30px;
    margin-left: 66px;
}
p.carousel-text-three.second-title {
    margin-top: 3rem;
}
p.carousel-text-three {
    margin-top: 7rem;
    text-align: left;
    font-size: 24px;
    color: #f34c7f;
    font-family: "FrutigerLTStd-Bold";
    padding-right: 30px;
    margin-left: 65px;
}
p.carousel-text-three.third-carousel {
    margin-top: 3rem;
}
p.carousel-text-four {
    color: #000;
    font-family: "FrutigerLTStd-Roman";
    text-align: left;
    font-size: 18px;
    left: 0%;
    position: relative;
    padding-right: 30px;
    margin-left: 66px;
}

p.carousel-text-five {
    margin-top: 10%;
    text-align: left;
    font-size: 24px;
    color: #f34c7f;
    font-family: "FrutigerLTStd-Bold";
    padding-right: 30px;
    margin-left: 65px;
}

p.carousel-text-six {
    color: #000;
    font-family: "FrutigerLTStd-Roman";
    text-align: left;
    font-size: 18px;
    left: 0%;
    position: relative;
    padding-right: 30px;
    margin-left: 66px;
}

p.carousel-text-seven {
    margin-top: 10%;
    text-align: left;
    font-size: 24px;
    color: #f34c7f;
    font-family: "FrutigerLTStd-Bold";
    padding-right: 30px;
    margin-left: 65px;
}

p.carousel-text-eight {
    color: #000;
    font-family: "FrutigerLTStd-Roman";
    text-align: left;
    font-size: 18px;
    left: 0%;
    position: relative;
    padding-right: 30px;
    margin-left: 66px;
}

.carousel-caption {
    position: absolute;
    right: 15%;
    bottom: 2rem;
    left: 15%;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    color: #fff;
    background: #fff;
    text-align: justify;
    min-height: 510px;
    width: 20%;
}

div#carouselThree {
    height: 586px;
}

a#button1 {
    background: #F34C7F;
    color: #fff;
    left: 17%;
    position: relative;
    font-family: "FrutigerLTStd-Bold";
    font-size: 18px;
    border: transparent;
}

a#button2 {
    background: #F34C7F;
    color: #fff;
    left: 17%;
    position: relative;
    font-family: "FrutigerLTStd-Bold";
    font-size: 18px;
    border: transparent;
}

a#button3 {
    background: #F34C7F;
    color: #fff;
    left: 17%;
    position: relative;
    font-family: "FrutigerLTStd-Bold";
    font-size: 18px;
    border: transparent;
}

a#button4 {
    background: #F34C7F;
    color: #fff;
    left: 17%;
    position: relative;
    font-family: "FrutigerLTStd-Bold";
    font-size: 18px;
    border: transparent;
}

div#carouselFour {
    height: -webkit-fill-available;
}

img.img-three {
    width: 100%;
}

/*Homepage Content*/
div#hounslowResidents {
    padding-right: 0px;
    border: 3px solid #652f6c;
    padding: 0px;
    min-height: 265px !important;
    background: #652f6c;
}

div#hounslowEmployers {
    border: 3px solid #652f6c;
    padding: 0px;
    background: #652f6c;
}

#btn1 {
    color: #fff;
    background-color: #e6388d;
    border-color: #000;
    font-family: "FrutigerLTStd-Bold";
    font-size: 18px;
    margin-top: 15px;
    margin-left: 15px;
}

#btn2 {
    color: #fff;
    background-color: #e6388d;
    border-color: #000;
    font-family: "FrutigerLTStd-Bold";
    font-size: 18px;
    margin-left: 15px;
    margin-top: 21px;
}

section#register {
    background: #fff;
    padding-top: 30px;
    padding-left: 30px;
    padding-right: 30px;
}

div#firstPanel {
    background-color: transparent;
    padding-top: 0px;
    font-size: 28px !important;
    color: #fff;
    margin-top: 30px;
    font-family: "FrutigerLTStd-Bold";
}

p#residentsText {
    font-size: 24px !important;
    color: #fff;
    font-weight: normal;
}

div#hounslowEmployers {
    border: 3px solid #652f6c;
    padding: 0px;
    background: #652f6c;
    min-height: 265px;
}

div#secondPanel {
    background-color: transparent;
    padding-top: 0px;
    font-size: 28px !important;
    color: #fff;
    margin-top: 30px;
    font-family: "FrutigerLTStd-Bold";
}

p#employersText {
    font-size: 24px !important;
    color: #fff;
    font-weight: normal;
}

h2.homepage-title-two {
    margin-top: 30px;
}

.opportunities-section {
    background: #C29FD8;
    width: 101%;
    padding-left: 30px;
    padding-right: 30px;
    margin-top: 20px;
}

.card-body {
    padding: 15px;
    border: 3px solid #7b2379;
    border-radius: 16px;
}

a#opportunitiesbtn {
    background: #e6388d;
    border: transparent;
}

a#opportunitiesbtn:hover {
    background: #fff;
    color: #000;
    border: 2px solid #000;
    transition: 0.6s;
}

a#opportunitiesbtn:focus {
    outline: 2px dashed #000;
}

h2.title-three {
    text-align: center;
    margin-top: 30px;
    font-family: "Poppins", sans-serif;
    font-weight: bold;
}

img.img-three {
    padding-bottom: 30px;
}

/*Media queries for Hounslow's homepage*/
@media (min-width: 1921px) and (max-width: 2560px) {
    img.img-three {
        width: 100%;
    }
}

@media (min-width: 1537px) and (max-width: 1920px) {
    p.carousel-text-one {
        margin-top: 10%;
        text-align: left;
        font-size: 24px;
        color: #f34c7f;
        font-family: "FrutigerLTStd-Bold";
        padding-right: 30px;
    }
}

@media (min-width: 1441px) and (max-width: 1536px) {
    ul.navbar-nav.ms-auto {
        margin-right: 9%;
    }

    .carousel-caption {
        bottom: 0rem;
        min-height: 435px;
    }

    div#carouselThree {
        height: 493px;
    }

    div#carouselFour {
        height: 700px;
    }

    a#button1 {
        left: 21%;
    }

    a#button2 {
        left: 21%;
    }

    a#button3 {
        left: 21%;
    }

    a#button4 {
        left: 21%;
    }
}

@media (min-width: 1281px) and (max-width: 1440px) {
    .carousel-caption {
        bottom: 0rem;
        min-height: 412px;
    }

    a#button1 {
        left: 23%;
    }

    a#button2 {
        left: 23%;
    }

    a#button3 {
        left: 23%;
    }

    a#button4 {
        left: 23%;
    }

    div#carouselThree {
        height: 470px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    div#carouselOne {
        min-height: 325px;
        bottom: -1rem;
    }

    a#button1 {
        font-size: 12px;
        left: 30%;
    }

    div#carouselTwo {
        min-height: 325px;
        bottom: -1rem;
    }

    a#button2 {
        font-size: 12px;
        left: 30%;
    }

    p.carousel-text-one {
        font-size: 16px;
    }

    p.carousel-text-two {
        font-size: 14px;
    }

    p.carousel-text-three {
        font-size: 16px;
    }

    p.carousel-text-four {
        font-size: 14px;
    }

    div#carouselThree {
        bottom: -15rem;
    }

    a#button3 {
        font-size: 12px;
        left: 30%;
    }

    div#carouselFour {
        min-height: 325px;
        bottom: -1rem;
    }

    a#button4 {
        font-size: 12px;
        left: 30%;
    }

    p.carousel-text-five {
        font-size: 16px;
    }

    p.carousel-text-six {
        font-size: 14px;
    }

    p.carousel-text-seven {
        font-size: 16px;
    }

    p.carousel-text-eight {
        font-size: 14px;
    }
}

@media (min-width:426px) and (max-width:768px) {
    div#carouselOne {
        bottom: -13rem;
    }

    p.carousel-text-one {
        margin-top: 25%;
        margin-left: 25px;
        font-size: 12px;
    }

    p.carousel-text-two {
        font-size: 12px;
        left: 0%;
        margin-left: 24px;
    }

    a#button1 {
        font-size: 12px;
    }

    .w-100 {
        width: 100% !important;
        min-height: 270px;
    }

    div#carouselTwo {
        bottom: -13rem;
    }

    p.carousel-text-three {
        margin-top: 25%;
        margin-left: 25px;
        font-size: 12px;
    }

    p.carousel-text-four {
        font-size: 12px;
        left: 0%;
        margin-left: 24px;
    }

    a#button2 {
        font-size: 12px;
    }

    div#carouselThree {
        bottom: -17rem;
    }

    p.carousel-text-five {
        margin-top: 25%;
        margin-left: 25px;
        font-size: 12px;
    }

    p.carousel-text-six {
        font-size: 12px;
        left: 0%;
        margin-left: 24px;
    }

    a#button3 {
        font-size: 12px;
    }

    div#carouselFour {
        bottom: -13rem;
    }

    p.carousel-text-seven {
        margin-top: 25%;
        margin-left: 25px;
        font-size: 12px;
    }

    p.carousel-text-eight {
        font-size: 12px;
        left: 0%;
        margin-left: 24px;
    }

    a#button4 {
        font-size: 12px;
    }

}

@media (min-width:376px) and (max-width:425px) {
    .carousel-inner>.item {
        min-height: 300px !important;
        width: 100%;
        background-size: contain;
    }

    .carousel-item {
        min-height: 400px;
        width: 40%;
        background: #ffffff70;
        left: 5%;
        position: relative;
    }

    #carouselImageOne {
        background-image: url("https://images.hanlonsonline.co.uk/Hounslow BS5/images/Carousel1 Resized Banner.png") !important;
        background-size: cover;
    }

    p.carousel-text-seven {
        margin-top: 10%;
        text-align: left;
        font-size: 16px;
        color: #000;
        font-family: "FrutigerLTStd-Bold";
        padding-right: 30px;
    }

    p.carousel-text-seven {
        margin-top: 10%;
        text-align: left;
        font-size: 16px;
        color: #000;
        font-family: "FrutigerLTStd-Bold";
        padding-right: 30px;
    }

    p.carousel-text-eight {
        color: #000;
        font-family: "FrutigerLTStd-Roman";
        text-align: left;
        font-size: 10px;
        left: 0%;
        position: relative;
        padding-right: 30px;
    }

    p.carousel-text-seven.second-carousel-text {
        font-size: 14px;
    }

    p.carousel-text-one {
        margin-top: 10%;
        text-align: left;
        font-size: 14px;
        color: #000;
        font-family: "FrutigerLTStd-Bold";
        padding-right: 30px;
    }

    p.carousel-text-three {
        margin-top: 10%;
        text-align: left;
        font-size: 16px;
        color: #000;
        font-family: "FrutigerLTStd-Bold";
        padding-right: 30px;
    }

    p.carousel-text-four {
        color: #000;
        font-family: "FrutigerLTStd-Roman";
        text-align: left;
        font-size: 10px;
        left: 0%;
        position: relative;
        padding-right: 30px;
    }

    p.carousel-text-five {
        margin-top: 10%;
        text-align: left;
        font-size: 16px;
        color: #000;
        font-family: "FrutigerLTStd-Bold";
        padding-right: 30px;
    }

    p.carousel-text-six {
        color: #000;
        font-family: "FrutigerLTStd-Roman";
        text-align: left;
        font-size: 10px;
        left: 0%;
        position: relative;
        padding-right: 30px;
    }

    div#hounslowEmployers {
        margin-top: 30px;
    }

    .item.active {
        height: 315px !important;
    }
}

@media (min-width:320px) and (max-width:375px) {
    div#hounslowEmployers {
        margin-top: 30px;
    }
}